<template>
  <el-radio-group v-model="value">
    <el-radio v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-radio>
  </el-radio-group>
</template>
<script setup lang="ts">
import { computed } from "vue";
import { Cus } from "../formConfig";
const props = defineProps<Cus>();
const emit = defineEmits(["update:modelValue"]);

const value = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emit("update:modelValue", value);
  }
});
</script>
<style scoped></style>
